package top.fongs.spring_security_jwt.domain.entity.users.admin;

import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;

@Data
public class Admin implements Serializable {
    private static final long serialVersionUID = -708417694747514191L;

    private Long id;
    private String username;
    private String password;
    private String name;
    private Integer age;
    private Integer gender;

    public Admin( Long id, String username, String password, String name, Integer age, Integer gender ) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
}
